package net.pws.common.persistence.mapbean.service;

import java.util.List;

import net.pws.common.persistence.mapbean.model.MapBean;


public interface MapBeanService {
    
    public void saveOrUpdate(MapBean mapBean);
    
    public void save(MapBean mapBean);
    
    public void update(MapBean mapBean);
    
    public void remove(MapBean mapBean);
    
    public void saveOrUpdate(MapBean[] mapBean);
    
    public void save(MapBean[] mapBean);
    
    public void update(MapBean[] mapBean);
    
    public void remove(MapBean[] mapBean);
    
    public List<MapBean> find(String queryStatement);
    
    public List<MapBean> find(String queryStatement, Object parameter);
    
    public List<MapBean> find(String queryStatement, Object[] parameters);
    
}
